package com.cloud.service.impl;


import com.cloud.dao.CourseDao;
import com.cloud.dao.impl.CourseDaoImpl;
import com.cloud.entity.Course;
import com.cloud.service.CourseService;

import java.util.List;

public class CourseServiceImpl implements CourseService {
    CourseDao dao = new CourseDaoImpl();
    @Override
    public List<Course> findCourses() {
        return dao.findCourses();
    }
}
